package org.platform.executor.knowledge;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd10013.QueryTestGroupRequestParam;
import org.platform.mo.csmo.cmd10013.QueryTestGroupResponseParam;
import org.platform.service.knowledge.TestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/8/14
 */
@Service
public class QueryTestGroupExecutor implements IMicProviderServiceExecutor<QueryTestGroupRequestParam, QueryTestGroupResponseParam> {
    @Autowired
    private TestServiceImpl service;

    @Override
    public QueryTestGroupResponseParam doExecute(QueryTestGroupRequestParam requestParam) {
        return service.queryTestGroup(requestParam);
    }
}
